home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000291_news@newsmaster….columbia.edu _Wed Jun 11 23:43:44 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA05268
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 11 Jun 1997 23:43:43 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA00361
  7.     for kermit.misc@watsun; Wed, 11 Jun 1997 23:43:43 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news.mathworks.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news-feed1.tiac.net!posterchild!ciaraldi
  9. From: ciaraldi@tiac.net (Michael Ciaraldi)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Resend #2: Problem Building HP-UX 9 C-Kermit
  12. Date: 11 Jun 1997 19:51:38 GMT
  13. Organization: The Internet Access Company, Inc.
  14. Lines: 33
  15. Message-ID: <5nmvka$sc0@news-central.tiac.net>
  16. NNTP-Posting-Host: sunspot.tiac.net
  17. Keywords: HP-UX select
  18.  {Sorry, this message was partially truncated the first time I sent it.
  19.  Here is the complete version.}
  20. yOrganization: Ciaraldi Cybernetics
  21. Xref: news.columbia.edu comp.protocols.kermit.misc:7148
  22.  
  23. I am running an HP 9000 PA-RISC workstation under HP-UX 9.07.
  24. The kermit that comes with it, C-Kermit 4E(072) works all right,
  25. but I wanted to get the newest version.
  26.  
  27. I downloaded the source from Columbia and compiled it with GCC
  28. with the command "make hpux90gcc".
  29. This compiled and linked without error.
  30.  
  31. However, when I run it does not work correctly.
  32. I can start kermit, set the line and speed, then connect.
  33. Anything I type on my keyboard does not go out the serial port,
  34. but things that come into the  serial port from the other system
  35. appear on my screen OK. As I mentioned, the old version of
  36. Kermit works fine in this situation.
  37.  
  38. Any ideas?
  39.  
  40. I do have one clue: I wrote a program a few weeks ago
  41. that used select() and it does not seem to work properly either.
  42. In this case the program is waiting on a socket using a select().
  43. If one character gets sent to the socket the select() returns.
  44. I then read the character and do the select() again, and it always returns
  45. as if there were data in the socket. But when it 
  46. reads the socket there are no characters available.
  47. BTW, I am properly initializing the flags each time I call the select().
  48. I suspect that there is a bug in select() in this version of HP-UX.
  49.  
  50. thanks,
  51. Mike Ciaraldi
  52. ciaraldi@ciaraldi.com (preferred) or
  53. ciaraldi@tiac.net
  54.